//
//  BKUserRequestUrl.m
//  bestkeep
//
//  Created by windCould on 16/11/17.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import "BKUserRequestUrl.h"

#define GETNeedAPIOrMethod(product,develop) (ApplicationEnvironmentProduction ? (product):(develop))

@implementation BKUserRequestUrl

//根据环境选择不同的接口

NSString * const UTOOUAPIStr = GETNeedAPIOrMethod(@"http://api.utouu.com/v1/", @"http://api.test.utouu.com/v1/");
NSString * const  UTOOUAPIStrV2 = GETNeedAPIOrMethod(@"http://api.utouu.com/v2/", @"http://api.test.utouu.com/v2/");
NSString * const BestKeepAPIStr = GETNeedAPIOrMethod(@"http://api.bestkeep.cn/", @"http://api.test.bestkeep.cn/");
NSString * const UserLogoPictureStr = GETNeedAPIOrMethod(@"http://cdn1.utouu.com/picture/userphoto/",@"http://utouu-web-test.oss-cn-hangzhou.aliyuncs.com/picture/userphoto/");//图片";
NSString * const BestKeepAPIStrV2 = GETNeedAPIOrMethod(@"http://api.utouu.com/v2/"
                                                       , @"http://api.test.utouu.com/v2/");
NSString * const UserPassPortStr = GETNeedAPIOrMethod(@"https://passport.utouu.com/",@"https://passport.test.utouu.com/");
NSString * const UserGetImgCodeVerifyStr = GETNeedAPIOrMethod(@"http://msg.utouu.com/", @"http://msg.test.utouu.com/");//获取验证码
NSString * const UserWebStr =  GETNeedAPIOrMethod(@"http://m.bestkeep.cn/",@"http://m.test.bestkeep.cn/"); //请求问题咨询接口
NSString * const  UserLoginStStr = GETNeedAPIOrMethod(@"http://api.utouu.com",@"http://api.test.utouu.com");

//固定值

NSString * const UserBaseInfoStr = @"user/bestkeep-info";//用户基本信息
NSString * const AccountLoginUrlStr = @"m1/tickets";//登录接口
NSString * const STStr = @"m1/tickets";//获取ST
NSString * const UserCollectionGoodsListStr = @"collect/list";//收藏列表
NSString * const UserColletionListDeleteGoodsStr = @"collect/delete";//收藏列表删除商品
NSString * const UserGoodsReserveStatus = @"reserve/goodsReserve-status";//商品状态
NSString * const UserLeverOfVipStr = @"member/level-v1";
NSString * const UserModifyNickNameStr = @"user/update-nick-name";//修改昵称
NSString * const UserUpLoadHeadImgStr = @"user/photo/upload"; ////上传头像新
NSString * const UserFeedbackUploadImg = @"feedback/upload-img";//意见反馈图片上传
NSString * const UserFeedbackUpLoad = @"feedback/save"; //保存用户意见反馈
NSString * const UserGetSMSCodeStr = @"api/v3/account/send-sms"; //获取短信验证码
NSString * const UserCheckSMSCodeStr = @"api/user/forget/check-sms-vcode"; //验证短信验证码
NSString * const UserRegisterStr = @"api/v3/account/register";//注册接口
NSString * const UserGetImgVerifyCode = @"v1/img/vcode";//获取图片验证码

NSString * const UserFindPwdStr =@"api/user/forget/sendSms";//找回密码
NSString * const UserFindPwdGetSMSCodeStr = @"api/user/forget/reSendSms";//找回密码获取验证码
NSString * const UserRetireNewPwdStr = @"api/user/forget-mod-pwd";//找回密码（相当于重置新的密码）
NSString * const UserAskQuestionStr = @"app/question/questionList.html"; //咨询问题
NSString *const  UserUploadIdCardImgStr = @"uploadIdCardImg";//上传身份证照片
NSString * const CertificationInfoStr = @"commitCertify";//提交实名认证信息
NSString * const getCertifyDetailStr = @"getCertifyDetail";//获取实名认证信息
NSString * const UeserModifyPwdStr = @"app/v1/update-pwd";//修改用户密码
NSString * const UserGetCertifyDetailStr = @"getCertifyDetail";//获取实名认证信息
NSString * const UserMyAccountDeatailStr = @"account/balance";//我的账户详情
NSString * const UserCheckOrderStr = @"order/listpage"; //用户订单分页接口
NSString * const UserGetNoReadMessageNumStr = @"msg/getUnreadMsgCount"; //获取未读信息数

//获取用户支付密钥
NSString * const UserSecret = @"getUserSecret"; //获取用户支付密钥

//三方登录
NSString * const UserOtherPlaformatLoginAPIStr = @"m1/open-account-tickets";//三方登录接口
NSString * const UserIsBindinOtherPlaFormatAPIStr = @"user/open-account-info";//判定是否绑定其他接口
NSString * const UserRemoveRealationShipAPIStr = @"user/remove-open-account";//移除绑定
NSString * const UserUserInfoBindingAPIStr = @"api/v2/account/bind-open-account";//个人信息绑定接口
NSString * const UserBindingAfterRemoveBindingAPIStr = @"user/open-account-bind";//解除绑定在绑定接口

@end
